WAF: Add DropRequest helper to block request in hooks#4016
Conversation
|
@blotus: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
|
@blotus: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
|
/kind feature |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4016 +/- ##
==========================================
+ Coverage 62.76% 62.89% +0.13%
==========================================
Files 459 459
Lines 33067 33254 +187
==========================================
+ Hits 20753 20914 +161
- Misses 10195 10211 +16
- Partials 2119 2129 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Allow to manually block requests from a
pre_evalhook.This allows for example to easily implement geoblocking by reusing existing crowdsec helpers: